//
//  TamerScene.h
//  beast_tamer
//
//  Created by Yang Bean on 13/5/7.
//
//

#ifndef __beast_tamer__TamerScene__
#define __beast_tamer__TamerScene__

#include <iostream>
#include "cocos2d.h"
class ItemNode;

using namespace cocos2d;
class TamerScene : public CCLayer
{
public:
    TamerScene(void);
    virtual ~TamerScene(void);
    virtual bool init(void);
    static CCScene* scene();
    CREATE_FUNC(TamerScene);
    
    virtual bool ccTouchBegan(CCTouch *pTouch, CCEvent *pEvent);
    virtual void ccTouchMoved(CCTouch *pTouch, CCEvent *pEvent);
    virtual void ccTouchEnded(CCTouch *pTouch, CCEvent *pEvent);
    
private:
    CCSize m_winSize;
    CCSize m_leftUpSize;
    CCSize m_leftDownSize;
    CCSize m_rightUpSize;
    CCSize m_rightDownSize;
    ItemNode* m_itemNode;
    CCSprite* m_currentDragSprite;
    

};
#endif /* defined(__beast_tamer__TamerScene__) */
